<!-- target:check -->
<div class="cont-tab check-page" ui="type:NS.Tab;gesture:false;">
    <div class="cont-item list-cont">
        <strong>手机号验票</strong>
        <div ui="type:m-panel;">
        	<div ui="type:number;id:ticket-check-mobile" class="phone">
                <input type="text" value="" placeholder="请输入手机号码">   
            </div>
        	<div class="ticket-acount">已验收 <span id="checkticketentryamount">${acount.entryAmount}</span> 张，剩余 <span id="checkticketlastamount">${acount.lastAmount}</span> 张</div>
        	<div class="check" ui="type:NS.Check;id:ticket-check">验票</div>
        </div>

    </div>
    <div class="cont-item list-cont">
        <strong>二维码验票</strong>
    </div>
</div>

<!-- target:checkTicketDialog -->
<div ui="type:NS.CheckTicketDialog;id:check-ticket-dialog;" class="check-ticket-dialog">
    <strong class="ui-hide">验票</strong>
    <div ui="type:tab;gesture:false;selected:={${ticketItems.length} > 1 ? 0 : 1 };">
        <div class="mobile-list">
            <strong class="ui-hide">购票人列表</strong>
            <div class="tab-title">选择手机号</div>
            <ul class="mobile-itms" ui="type:m-panel;id:check-ticket-mobile-panel;">
                <!-- for: ${ticketItems} as ${item}, ${index} -->
                <li>
                    <div class="mobile-item" ui="type:NS.Mobile;index:${index}">
                        <span class="mobile">${item.mobile}</span>
                        <span class="name">${item.nickname}</span>
                        <span class="num">${item.total}张票</span>
                    </div>
                </li>
                <!-- /for -->
            </ul>
        </div>
        <div class="mobile-list">
            <strong class="ui-hide">购票列表</strong>
            <!-- use:ticketItems(ticketItem=${ticketItems.0},entryAmount=${entryAmount},lastAmount=${lastAmount}) -->
        </div>
    </div>
</div>

<!-- target:ticketItems -->
<div class="ticket-title">该用户已验收 <span>={${ticketItem.total} - ${ticketItem.waiCheckCount}}</span> 张，待验收 <span>${ticketItem.waiCheckCount}</span> 张</div>
<div class="ticket-cont">
    <ul class="ticket-itms" ui="type:m-panel;id:check-ticket-panel">
        <!-- for: ${ticketItem.tickets} as ${item}, ${index} -->
        <li class="ticket-item" ui="type:checkbox;checked">
            <input type="checkbox" class="ui-hide" value="${index}">
            <div class="channel-name"><span class="line"></span>${item.channelName}<span class="tip">（渠道名称）</span></div>
            <div class="mobile">手机号：<span>${ticketItem.mobile}</span></div>
            <div class="total">总票数：<span>${item.all}</span> 张</div>
            <div class="checked">已验收：<span>${item.entryNum}</span> 张</div>
            <div class="price">￥200/张</div>
            <div class="check">可验收<div ui="type:NS.Number;value:={${item.all} - ${item.entryNum}}"><div class="number-prev number-opt"></div><div class="number ui-text"></div><div class="number-next number-opt"></div></div></div>
        </li>
        <!-- /for -->
    </ul>
    <div class="ticket-btn">
        <form name="admissionTicketForm" class="ui-hide">
            <input name="playTicketDetailIds" ui="type:ecui.esr.CreateArray;" type="text">
            <div></div>
        </form>
        <div class="btn sure" ui="type:NS.CheckTicket">确定</div>
        <div class="btn" ui="type:cancel">取消</div>
    </div>
</div>
<div class="ticket-check-bottom">
    <div class="check-all" ui="type:NS.CheckTicketAll">全部验收</div>
    <div class="tip">演出已验收 ${entryAmount} 张，待验 ${lastAmount} 张</div>
</div>

